﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WCFClient2
{
    class Program
    {
        static void Main(string[] args)
        {
            int i = 0;
            HelloServiceClient client = new HelloServiceClient();
            do
            {
                Console.WriteLine(client.SayHello((++i).ToString()));
            } while (Console.ReadKey().Key == ConsoleKey.Enter);
        }
    }
}
